package com.it.octoo.ctrl;

import com.it.octoo.entity.AddressEntity;
import com.it.octoo.entity.UserEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 说明
 * </p >
 *
 * @author miaoxiao
 * @since 2020/3/26
 */
@RestController
@RequestMapping("/address")
@Api(tags = "地址信息")
public class AddressController {
    @GetMapping("/get")
    @ApiOperation("获取地址")
    public AddressEntity get(){
        return new AddressEntity(1L,"渝北","重庆");
    }
}
